package com.yixin.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.GodownCancelDrug;
import com.yixin.hospital.entity.dto.req.purchaseorder.GoDownCancelDrugReqDTO;
import com.yixin.hospital.entity.dto.req.purchaseorder.GoDownExchangeDrugStatusReqDTO;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【godown_cancel_drug(返库药品表)】的数据库操作Service
* @createDate 2024-09-01 16:58:41
*/
public interface GodownCancelDrugService extends IService<GodownCancelDrug> {

    ApiResult<?> allList(HttpServletRequest request, int currentPage, int pageSize);

    ApiResult<?> listInfo(String code);

    ApiResult<?> goDownCancelDrug(@Valid GoDownCancelDrugReqDTO goDownDrugReqDTO, String userName);

    ApiResult<?> goDownCancelDrugStatus(@Valid GoDownExchangeDrugStatusReqDTO goDownExchangeDrugStatusReqDTO, String userName);
}
